
#ifndef AFE_CRUZE_H_
#define AFE_CRUZE_H_

#include "afe_data_application.h"	// application provides for default values                                                                                                                                                          
// 
// Data declarations
//

// AFE Register Values

extern unsigned char AfeRegGpio1In;
extern unsigned char AfeRegGpio1Out;
extern unsigned char AfeRegGpio1Gp;
extern unsigned char AfeRegGpio2Gp;
extern unsigned char AfeRegGpio3Gp;
extern unsigned char AfeRegAdc1;
extern unsigned char AfeRegAdc2;
extern unsigned char AfeRegIcomp;
extern unsigned char AfeRegHallSns;
extern unsigned char AfeRegMisc1;
extern unsigned char AfeRegMisc2;
extern unsigned char AfeRegMisc3;

#ifndef DRV92250
extern unsigned char AfeRegDac1;
extern unsigned char AfeRegDac2;
#else
extern unsigned char AfeRegDacA;
extern unsigned char AfeRegDacB;
extern unsigned char AfeRegMisc4;
#endif


// Function Prototypes

extern void afe_data_init();
extern void afe_data_save_parameters();
extern void afe_data_reset_defaults();
extern void afe_data_write_all();


#endif /*AFE_CRUZE_H_*/
